"""
@name: studentdo.py
@auth: zzw
@date: 2022/12/29 12:29
@desc: 
"""


class StudentDO:

    def __init__(self, no, name, sex):
        self.__stu_no = no
        self.__stu_name = name
        self.__stu_sex = sex

    def __str__(self):
        return f"StudentDO=[no={self.__stu_no}, name={self.__stu_name}, sex={self.__stu_sex}]"

    @property
    def get_no(self):
        return self.__stu_no

    @property
    def get_name(self):
        return self.__stu_name

    @property
    def get_sex(self):
        return self.__stu_sex

